* {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
body {
  background-color: rgb(170, 190, 250);
}
.container {
  position: relative;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 300px;
  transform: translate(-50%,50%);
  overflow: hidden;
  border:4px #fff solid ;
  border-radius: 10px;
  box-shadow: 10px 20px 10px rgba(0, 0, 0, .4);
}

.imgBox {
  position: absolute;
  display: flex;
  width: 500%;
  height: 100%;
  left: 0;
  /* transition: 1s; */
}

.img {
  width: 100%;
  background-size: cover;
}

.img:nth-child(1) {
  background-image: url('./../img/img1.jpg');
}
.img:nth-child(2) {
  background-image: url('./../img/img2.jpg');
}
.img:nth-child(3) {
  background-image: url('./../img/img3.jpg');
}
.img:nth-child(4) {
  background-image: url('./../img/img4.jpg');
}
.img:nth-child(5) {
  background-image: url('./../img/img1.jpg');
}

#prev,
#next {
  position: absolute;
  top: 135px;
  width: 30px;
  height: 30px;
  font-size: 30px;
  color: #fff;
  opacity: .6;
  cursor: pointer;
}
#prev {
  border-radius: 0 15px 15px 0;
}
#next {
  right: 0;
}

#prev:hover,
#next:hover {
  opacity: 1;
}

.circle {
  position: absolute;
  left: 16px;
  bottom: 6px;
  display: flex;
  cursor: pointer;
}

.circle li {
  margin-right: 3px;
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, .4);
  z-index: 100;
  border-radius: 50%;
}

#hover {
  background-color: rgb(255, 255, 255, .8);
}